# New ports collection makefile for:	kdevelop-php
# Date created:				4 April 2010
# Whom:					Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	php
PORTVERSION=	1.0.r2
CATEGORIES=	devel kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION:S/0.2/0.1/}/src
PKGNAMEPREFIX=	kdevelop-
DISTNAME=	kdev-${PORTNAME}-rc2
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	PHP support for KDevelop

LIB_DEPENDS=	kdevplatforminterfaces.1:${PORTSDIR}/devel/kdevplatform

USE_BZIP2=	yes
USE_KDE4=	automoc4 kdehier kdelibs kdeprefix
KDE4_BUILDENV=	yes
USE_QT_VER=	4
QT_COMPONENTS=	corelib qtestlib \
		moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE=	yes
USE_CMAKE=	yes

OPTIONS=	DOCS	"Integrate with PHP.net online documentation" on

.include <bsd.port.pre.mk>

.ifdef(WITH_DOCS)
RUN_DEPENDS+=	kdevelop-php-docs>=0:${PORTSDIR}/devel/kdevelop-php-docs
.endif

.include <bsd.port.post.mk>
